home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 2000 October
/
Software of the Month - Ultimate Collection Shareware 277.iso
/
pc
/
PROGRAMS
/
UTILITY
/
WINLINUX
/
DATA1.CAB
/
sbin_-_Static_Binary_Files
/
INITSCRI.{21
< prev
next >
Wrap
Text File
|
1999-09-17
|
710b
|
26 lines
#
# initscript If this script is intalled as /sbin/initscript,
# it is executed by init(8) for every program it
# wants to spawn like this:
#
# /bin/sh /sbin/initscript <id> <level> <action> <process>
#
# It can be used to set the default umask and ulimit
# of all processes. By default this script is installed
# as /sbin/initscript.sample, so to enable it you must
# rename this script first to /sbin/initscript.
#
# Version: @(#)initscript 1.10 10-Dec-1995 MvS.
#
# Author: Miquel van Smoorenburg, <miquels@cistron.nl>
#
# Set umask to safe level, and enable core dumps.
umask 022
ulimit -c 2097151
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
# Execute the program.
eval exec "$4"